﻿using System;
using System.Collections.Generic;
using Autodesk.Revit.DB;
using YJKLoopSearch;

namespace YJKElementFinish.ColumnSurface.DataDefinition
{
	public class OffsetWallInfo
	{
		public List<Element> NegativeWalls
		{
			get
			{
				return this.m_NegativeWalls;
			}
		}

		public List<Element> PositiveWalls
		{
			get
			{
				return this.m_PositiveWalls;
			}
		}

		public void AddNegativeWalls(Element newWall)
		{
			this.m_NegativeWalls.Add(newWall);
		}

		public void AddPositiveWalls(Element newWall)
		{
			this.m_PositiveWalls.Add(newWall);
		}

		public Pole2D ReferencePole { get; set; }

		public OffsetWallInfo(OffsetWallInfo info)
		{
			this.ReferencePole = info.ReferencePole;
			this.m_NegativeWalls = info.m_NegativeWalls;
			this.m_PositiveWalls = info.m_PositiveWalls;
		}

		public OffsetWallInfo(Pole2D referencePole)
		{
			this.ReferencePole = referencePole;
		}

		private List<Element> m_NegativeWalls = new List<Element>();

		private List<Element> m_PositiveWalls = new List<Element>();
	}
}
